package cn.buk.api.ctrip.dto;

import cn.buk.api.ctrip.util.xstream.MyDateConverter;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by yfdai on 15/7/1.
 */
@XStreamAlias("FlightStopInfo")
public class FlightStopInfo implements Serializable{

    @XStreamAlias("ArriveTime")
    @XStreamConverter(value = MyDateConverter.class, strings = {"yyyy-MM-dd'T'HH:mm:ss"})
    private Date arriveTime;

    @XStreamAlias("DepartTime")
    @XStreamConverter(value = MyDateConverter.class, strings = {"yyyy-MM-dd'T'HH:mm:ss"})
    private Date departTime;

    @XStreamAlias("StayInterval")
    private int stayInterval;

    @XStreamAlias("StopCity")
    private String stopCity;

    public Date getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(Date arriveTime) {
        this.arriveTime = arriveTime;
    }

    public Date getDepartTime() {
        return departTime;
    }

    public void setDepartTime(Date departTime) {
        this.departTime = departTime;
    }

    public int getStayInterval() {
        return stayInterval;
    }

    public void setStayInterval(int stayInterval) {
        this.stayInterval = stayInterval;
    }

    public String getStopCity() {
        return stopCity;
    }

    public void setStopCity(String stopCity) {
        this.stopCity = stopCity;
    }
}
